package com.mindainfo.groundwave.server.equipment.bean;

import com.baomidou.mybatisplus.activerecord.Model;
import com.baomidou.mybatisplus.annotations.TableName;

import java.io.Serializable;
import java.util.Date;

/**
 * Created by MD-01 on 2017/7/4.
 * 中继实体类
 */
@TableName("dev_relay_info")
public class RelayInfo extends Model<RelayInfo>{

    private Integer id;         //自增主键
    private String deviceId;    //设备出厂编号
    private String vendor;      //厂商
    private String version;     //版本
    private Date makerTime;     //生产日期
    private Date createTime;    //信息录入时间
    private Integer deptId;     //组织编号
    private Integer useState;   //设备使用状态(0:未安装,1:已安装,2:已使用,3:损坏待维修,4:已报废)

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getDeviceId() {
        return deviceId;
    }

    public void setDeviceId(String deviceId) {
        this.deviceId = deviceId;
    }

    public String getVendor() {
        return vendor;
    }

    public void setVendor(String vendor) {
        this.vendor = vendor;
    }

    public String getVersion() {
        return version;
    }

    public void setVersion(String version) {
        this.version = version;
    }

    public Date getMakerTime() {
        return makerTime;
    }

    public void setMakerTime(Date makerTime) {
        this.makerTime = makerTime;
    }


    public Date getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Date createTime) {
        this.createTime = createTime;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public Integer getUseState() {
        return useState;
    }

    public void setUseState(Integer useState) {
        this.useState = useState;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }
}
